import Layout from '@/layout/index'
export default [
  {
    path: '/eStudy',
    component: Layout,
    redirect: 'noredirect',
    hidden: false,
    alwaysShow: true,
    meta: {
      icon: 'ePower',
      noCache: true,
      title: 'e学习'
    },
    children: [
      {
        path: 'video',
        component: (resolve) => require(['@/views/eStudy/video'], resolve),
        name: 'Video',
        meta: { title: '视频学习', icon: 'video', noCache: true }
      },
      {
        path: 'theory',
        component: (resolve) => require(['@/views/eStudy/theory'], resolve),
        name: 'Theory',
        meta: { title: '理论学习', icon: 'theory', noCache: true }
      }
    ]
  }
]
